export default {

    // 应用内部全局变量
    appGlobalData: {
        // 组件api配置
        componentsApiConfig: {
            // 门店
            SelectCashier: {
                storeItemInfo: {
                    url: "plugin/team-dividend/admin/store/detail",
                },
                // 门店列表分页
                storeList: {
                    url: "plugin/team-dividend/admin/casher/canAddList",
                    // domain: "STORE_MAIN_DOMAIN"
                },
            },
            SelectStore: {
                storeItemInfo: {
                    url: "plugin/team-dividend/admin/store/detail",
                },
                // 门店列表分页
                storeList: {
                    url: "plugin/team-dividend/admin/store/canAddList",
                    // domain: "STORE_MAIN_DOMAIN"
                },
            },
            SelectDataGoods: {
                // 商品列表 通过ids获取
                goodsItemInfo: {
                    url: "mall-site-portal/open/api/product/getProductLstByIds",
                    domain: "APP_MAIN_DOMAIN",
                },
                // 商品列表分页
                goodsList: {
                    url: "mall-site-portal/open/api/product/list",
                    domain: "APP_MAIN_DOMAIN",
                },
            },
            // 单选用户
            SelectDataUsers: {
                usersList: {
                    url: "mall-site-portal/member/list",
                    domain: "APP_MAIN_DOMAIN"
                },
                usersItemInfo: {
                    url: "mall-site-portal/member/getMemberByIds",
                    domain: "APP_MAIN_DOMAIN"
                },
            }
        },
        selectResourcesImageApiConfig: {
            resourcesImageBox: {
                // 素材配置
                fileConfig: {
                    url: "mall-site-portal/album-info/getFileConfig",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 素材创建
                createSubmit: {
                    url: "mall-site-portal/album-info/create",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组列表
                albumList: {
                    url: "mall-site-portal/album/listAll",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组添加
                albumAdd: {
                    url: "mall-site-portal/album/create",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组删除
                albumDel: {
                    url: "mall-site-portal/album/delete",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 分组编辑
                albumEdit: {
                    url: "mall-site-portal/album/update",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据列表
                dataList: {
                    url: "mall-site-portal/album-info/list",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据删除
                dataDel: {
                    url: "mall-site-portal/album-info/delete",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据修改
                dataEdit: {
                    url: "mall-site-portal/album-info/update",
                    domain: "APP_MAIN_DOMAIN"
                },
                // 数据同步
                dataSync: {
                    url: "mall-site-portal/album-info/materialUpload",
                },
            }
        }
    },
    // 应用菜单宽度
    navWidth: 160,
    // 应用菜单配置
    navList: [
        {
            title: "基础",
            children: [
                {
                    title: "队长等级",
                    path: "/home",
                },
                {
                    title: "分红商品",
                    path: "/commodity",
                },
                {
                    title: "队长管理",
                    path: "/captain",
                },
                {
                    title: "队长申请",
                    path: "/application",
                },
                {
                    title: "分红订单",
                    path: "/order",
                },
                {
                    title: "待结算审核",
                    path: "/withdraw",
                },
                {
                    title: "业绩奖励",
                    path: "/achievement",
                },
                // {
                //     title: "感恩奖励",
                //     path: "/gratitude",
                // },
                {
                    title: "基础设置",
                    path: "/setting/basics",
                },
                {
                    title: "结算设置",
                    path: "/setting/settle",
                },
                // {
                //     title: "文字设置",
                //     path: "/setting/textsetting",
                // },
                {
                    title: "业绩奖励设置",
                    path: "/setting/achievement",
                },
                {
                    title: "收银台设置",
                    path: "/cashierset",
                },
                {
                    title: "门店设置",
                    path: "/storeset",
                },
            ]
        },


    ]

}